const { HttpResponse } = require("../../util/HttpResponse");
const { PlayerItem } = require('../../schema/user.schema');

exports.LoginResData = class LoginResData {
    token = '';
    /**
     * @property { Array<PlayerItem> }
     */
    players = [];
}

exports.LoginRes = class LoginRes extends HttpResponse {
    /**
     * 
     * @param { LoginResData } data 
     */
    constructor(message, status, data) {
        super(message, status);
        this.data = data;
    }
}